package com.ruyuan.engine.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.HashMap;

/**
 * 把规则绑定到该类的实例
 * */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RuleEventExecuteParam implements Serializable {
    //事件的类型
    private String eventId;

    //规则的属性
    private HashMap<String,String> properties;

    //规则中事件的开始时间和结束时间
    private long eventStartTime;
    private long eventEndTime;

    //组合规则阈值
    private int threshold;

    //组合规则满足的次数
    private int combinationMatchCount;
}